﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductDetail.aspx.cs" Inherits="ProductDetail" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>系统用户管理</title>
    
<link href="../css/base.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="../js/jq.js"></script>
	<script type="text/javascript" src="../js/ymPrompt.js"></script> 

<script language="javascript" type="text/javascript">
// <!CDATA[

function IMG1_onclick() {

var Url="../Authority/NQ_CommonWindow.aspx";
    var result=window.showModalDialog(Url,'选择群组','dialogWidth:500px;status:no;dialogheight:600px');   
    if(result!=null)
    { 
     var val=result.split('$$$');
     document.getElementById("GroupID").value=val[0];
     document.getElementById("GroupID1").value=val[1];
     
    }

}



function checkUserName_onclick() {


  var strName=document.getElementById("UserName").value
  
  if(strName.length< 6)
  {
       alert("请输入不少于6位字符");
      //ymPrompt.alert({message:'请输入不少于6位字符',title:'错误提示',handler:null});
		return;

  }else
  {
  
     var Url="NQ_CheckUserName.aspx?UserName="+strName+"";
    var result=window.showModalDialog(Url,'','dialogWidth:400px;status:no;dialogheight:200px');   
    if(result!=null)
    { 
     
    }
    
  }

}





// ]]>
</script>
</head>
<body>
    
    <form id="form1" runat="server">



    <div  style="margin:0 auto; width:100%;  text-align:center;">
<table style="width: 98%;">
        <tr>

            <td  class="title" style=" text-align:center;">
                <asp:Label ID="lblTitle" runat="server" Text="Title"></asp:Label>
          </td>
        </tr>      
    </table>    
    <TABLE cellSpacing=1 cellPadding=2 width="650px" border=1 valign="top">
        <TBODY>
        <TR bgColor=#ffffff>
          <td align="middle" width="120px">
              商品编码：</td>
          <td align="left">
          <asp:TextBox ID="Code" runat="server" Width="136px" CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="Code"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
                                                        </td>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle>
              名称：</TD>
          <TD align="left">&nbsp;<asp:TextBox ID="Name" runat="server" Width="136px"  CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
              </TD>
        </TR>
<%--        <TR bgColor=#ffffff>
          <TD align=middle>
              型号：</TD>
          <TD align="left">&nbsp;<asp:TextBox ID="Model" runat="server" Width="136px"  CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Model"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
              </TD>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle>
              规格：</TD>
          <TD align="left">&nbsp;<asp:TextBox ID="Standard" runat="server" Width="136px"  CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Standard"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
              </TD>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle>
              尺寸：</TD>
          <TD align="left">&nbsp;<asp:TextBox ID="Size" runat="server" Width="136px"  CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Size"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
              </TD>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle>
              产地：</TD>
          <TD align="left">&nbsp;<asp:TextBox ID="Origin" runat="server" Width="136px"  CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Origin"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
              </TD>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle>
              牌子：</TD>
          <TD align="left">&nbsp;<asp:TextBox ID="Brand" runat="server" Width="136px"  CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="Brand"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
              </TD>
        </TR>  --%>                                      
        <TR bgColor=#ffffff>
          <TD align=middle>
              件数单位：</TD>
          <TD align="left">&nbsp;<asp:DropDownList ID="Unit" runat="server" DataTextField="NAME" DataValueField="ID">
                                                                        </asp:DropDownList>
              </TD>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle>
              重量单位：</TD>
          <TD align="left">&nbsp;<asp:DropDownList ID="Weight" runat="server" DataTextField="NAME" DataValueField="ID">
                                                                        </asp:DropDownList>
              </TD>
        </TR>        
            <tr bgcolor="#ffffff" style="font-family: Times New Roman">
                <td align="middle" style="height: 20px" colspan="2">
                                                        <asp:Button ID="Add_Submit" runat="server" Height="32px" 
                                                            Text="保存" Width="105px" 
                        onclick="Add_Submit_Click" />
     <asp:Button ID="Button1" runat="server" Height="32px" 
                                                            Text="返回列表" Width="105px" CausesValidation="False" onclick="Button1_Click" 
                     />
                </td>
            </tr>
        </TBODY></TABLE></div>
    </form>
</body>
</html>
